package com.cyc.common.annotation;

import com.cyc.common.config.MyMetaObjectHandler;
import org.springframework.context.annotation.Import;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @author chenyunchang
 * @title
 * @date 2021/1/7 15:20
 * @Description:
 */

@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(MyMetaObjectHandler.class)    //表示这个注解使用上面的类
public @interface MybatisPlusAutoInsertAndUpdate {

}
